package com.zoffy.wmsbackend.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zoffy.wmsbackend.model.dto.cost.CostDTO;
import com.zoffy.wmsbackend.model.entity.Cost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zoffy.wmsbackend.model.vo.CostVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CostMapper extends BaseMapper<Cost> {
    Page<CostVO> listCostVo(IPage<CostVO> page, @Param("dto") CostDTO dto);
}